package com.sxpi.zixun.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sxpi.zixun.pojo.AdminPermission;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 董伟豪
 * @Date: 2022/8/27 16:19
 */
public interface AdminPermissionMapper extends BaseMapper<AdminPermission> {

    /**
     * kss_roles_permission删除中间表中的数据
     * @param permissionId
     * @return
     */
    int deleteByPermissionId(@Param("permissionId")Long permissionId);
}
